<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var age = 20;
        console.log(age);

        alert("我是你大爷");

        document.write("我是二大爷");
    </script>
</body>
</html>